package com.gitee.sop.layui.adminserver.module.background.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gitee.sop.layui.adminserver.module.background.system.api.service.param.InstanceMonitorSearchParam;
import com.gitee.sop.layui.adminserver.module.background.system.api.service.param.MonitorSearchParam;
import com.gitee.sop.layui.adminserver.module.background.system.entity.MonitorInfo;
import com.gitee.sop.layui.adminserver.module.background.system.entity.MonitorSummary;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author admin
 */
public interface MonitorInfoMapper extends BaseMapper<MonitorInfo> {
    List<MonitorSummary> listMonitorSummary(@Param("query") MonitorSearchParam query, Page<MonitorSummary> page);

    List<MonitorSummary> listInstanceMonitorInfo(@Param("query") InstanceMonitorSearchParam query);
}
